home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 23
/
Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso
/
Aminet
/
dev
/
amos
/
AMOS1097.lzh
/
AMOSLIST
/
000249_amos-request@svcs1.digex.net_Sun Oct 26 18:43:49 1997.msg
< prev
next >
Wrap
Internet Message Format
|
1997-11-02
|
3KB
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
by mail2.access.digex.net (8.8.5/8.8.5) with ESMTP id SAA04449
for <mcox@access.digex.net>; Sun, 26 Oct 1997 18:43:48 -0500 (EST)
Received: (from daemon@localhost)
by svcs1.digex.net (8.8.5/8.8.5) id PAA08254
for amos-out; Sun, 26 Oct 1997 15:50:03 -0500 (EST)
Received: from mail2.access.digex.net (mail2.access.digex.net [205.197.247.3])
by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id PAA08251
for <amos-list@svcs1.digex.net>; Sun, 26 Oct 1997 15:50:02 -0500 (EST)
Received: from relay2.inet.tele.dk (relay2.inet.tele.dk [194.182.149.120])
by mail2.access.digex.net (8.8.5/8.8.5) with SMTP id PAA20128
for <amos-list@access.digex.net>; Sun, 26 Oct 1997 15:49:57 -0500 (EST)
Received: (qmail 56970 invoked from network); 26 Oct 1997 20:49:35 -0000
Received: from post8.tele.dk (194.239.134.172)
by relay2.inet.tele.dk with SMTP; 26 Oct 1997 20:49:35 -0000
Received: from post8.tele.dk ([194.239.180.21]) by post8.tele.dk
(Netscape Mail Server v2.02) with SMTP id AAA24176;
Sun, 26 Oct 1997 21:49:32 +0100
From: Jens Vang Petersen <top_cat@post8.tele.dk>
To: Alastair Murray <malcolm.murray@virgin.net>
CC: amos-list@access.digex.net
Date: Sun, 26 Oct 1997 21:48:29 +0100
Message-ID: <yam7238.1457.1748690280@post8.tele.dk>
In-Reply-To: <5F8A8FAF.MD-0.196.malcolm.murray@virgin.net>
X-Mailer: YAM 1.3.4 [020] - Amiga Mailer by Marcel Beck
Subject: Re: Pattern Match
MIME-Version: 1.0
Content-Type: text/plain
Status: O
X-Status:
On 17-Okt-20, Alastair Murray smashed the keyboard with:
> >>Anyone have any AMOS code for doing a pattern match on a string?
>> >>e.g. *.AMOS or #?.AMOS to see if a string contains .AMOS in it
>> >>anywhere.
>> >>Saves me writing it myself...
>>
>> >A=Instr(<string to check>,<string to search for>)
>>
>> THAT's NOT A PATTERN MATCH, but a character match
>Yes. A few people have misunderstood me I think.
>This is what I need.
>using: #?amos#?pro :as a pattern would respond
>True for "amos pro" or "amos not pro" or "not amos pro" or "not amos
>not pro" etc. As long as it has Anything, then the word "amos" then
>anything else and then the word "pro" and nothing else.... get it?
>No-one programmed anything like this?
>I know some extension use it (AMCAF) and you can access the Pattern
>Match in a library somehow but I'd rather let it work with 1.3 dos as
>well.
Just a note.
Easylife + pattern.library runs on 1.3 too...
--
Happy greetings, Yours..
__________________________________________________________________________
/_ __/ __ / __ /\ ___\ __ \__ _\ aka. JENS VANG PETERSEN
/ / / /_/ / ____/ \ \___\ __ \ \ \ Nyvej 8, DK-4450 Jyderup, Denmark
/_/ /_____/_/ \_____\_\ \_\ \_\ top_cat@post8.tele.dk
--------------------------------------------------------------------------
CChheecckk yyoouurr dduupplleexx sswwiittcchh..
--------------------------------------------------------------------------